<?

session_start();
if (!(isset($_SESSION['myusername']) && $_SESSION['mypassword'] != '')) {
header ("Location: http://www.group3productions.info/combo/login/main_login.php");
}

include 'config.php';

function load_product_data($_Quantity,$ProductID,$Session_Prefix)
{
	$query  = "SELECT name, price FROM artikelen WHERE idartikelen = '$ProductID'";
	$result = mysql_query($query);
	$row = mysql_fetch_array($result);
	
	$name = $row['name'];
	$price = $row['price'];
	
	return $name.$price;
}

?>


<html>
<head></head>
<body>
<? echo load_product_data(1,432041,$Session_Prefix); ?>
</body>
</html>